namespace PickGold.Charting.ChartTypes
{
    using System;
    using System.Drawing;

    internal class SplineAreaChart : AreaChart
    {
        public SplineAreaChart()
        {
            base.lineTension = 0.5f;
        }

        protected override float GetDefaultTension()
        {
            return 0.5f;
        }

        public override Image GetImage(ChartTypeRegistry registry)
        {
            return (Image) registry.ResourceManager.GetObject(this.Name + "ChartType");
        }

        protected override bool IsLineTensionSupported()
        {
            return true;
        }

        public override string Name
        {
            get
            {
                return "SplineArea";
            }
        }
    }
}

